package creator.ui.graphics;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;

public class Paintools {

  public static void drawShadowString(
    String nextData,
    int x,
    int y,
    Font defaultfont2,
    int offset,
    Color white,
    Color black,
    Graphics g
  ) {
    g.setColor(black);
    g.setFont(defaultfont2);
    g.drawString(nextData, x + offset, y + offset);

    g.setColor(white);
    g.setFont(defaultfont2);
    g.drawString(nextData, x, y);
  }
}
